package org.mokusakura.domain.vo;

import org.mokusakura.domain.LineItem;

/**
 * @author MokuSakura
 */
public class SimpleLineItem {
    private SimpleItem item;
    private int quantity;

    public SimpleLineItem(LineItem lineItem) {
        //item = new SimpleItem(lineItem.getItem());
        quantity = lineItem.getQuantity();
    }

    public SimpleItem getItem() {
        return item;
    }

    public void setItem(SimpleItem item) {
        this.item = item;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
